﻿using Adnc.Infra.IRepositories;
using AutoMapper;
using WYT.Usr.Application.Contracts.Dtos;
using WYT.Usr.Application.Contracts.Dtos.Health;
using WYT.Usr.Application.Contracts.Dtos.User;
using WYT.Usr.Application.Contracts.Dtos.Warehouse;
using WYT.Usr.Repository.Entities;

namespace WYT.Usr.Application
{
    /// <summary>
    /// 
    /// </summary>
    public class WYTUsrProfile : Profile
    {
        public WYTUsrProfile()
        {
            CreateMap<UserAddressUpdationDto, HarvestAddress>();
            CreateMap<UserAddressCreationDto, HarvestAddress>();
            CreateMap<HarvestAddress, UserAddressDto>();
            CreateMap<WarehouseLog, WarehouseLogDto>();
            CreateMap<HealthExam, HealthExamDto>();
            CreateMap<HealthRiskResult, HealthRiskResultDto>();
            CreateMap<User, UserInforDto>();
            
        }
    }
}
